package com.qianfeng.dbsm.vo;

import com.qianfeng.dbsm.common.PageInfo;
import com.qianfeng.dbsm.entity.TbOrderDetail;

public class OrderDetailVo extends PageInfo {

    private String productName;//商品名称

    /**
     * 自增主键
     */
    private Integer id;
    /**
     * 订单编号 对应订单表order_number
     */
    private String orderNumber;
    /**
     * 商品编号 对应商品表id
     */
    private String productId;
    /**
     * 购买数量
     */
    private Integer num;
    /**
     * 单价
     */
    private Double onePrice;
    /**
     * 总价
     */
    private Double sumPrice;
    /**
     * 所选规格
     */
    private String attrItem;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Double getOnePrice() {
        return onePrice;
    }

    public void setOnePrice(Double onePrice) {
        this.onePrice = onePrice;
    }

    public Double getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(Double sumPrice) {
        this.sumPrice = sumPrice;
    }

    public String getAttrItem() {
        return attrItem;
    }

    public void setAttrItem(String attrItem) {
        this.attrItem = attrItem;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }
}
